import React from 'react'
import PropTypes from 'prop-types'
import classnames from 'classnames'

class Kui extends React.Component {
  static propTypes = {
    className: PropTypes.string,
    style: PropTypes.object
  }
  classNames(...args) {
    return classnames(args)
  }

  className(...args) {
    return this.classNames.apply(this, args.concat([this.props.className]))
  }

  styles(args) {
    return Object.assign({}, args, this.props.style)
  }
}

export { Kui, PropTypes }
